package org.hikari.qqbot.xiuxian.service.impl;

import lombok.RequiredArgsConstructor;
import org.hikari.qqbot.xiuxian.configuration.ApplicationProperties;
import org.hikari.qqbot.xiuxian.service.ISystemSettingService;
import org.hikari.qqbot.xiuxian.service.bo.SystemSetting;
import org.springframework.stereotype.Service;

/**
 * created at 2024-12-17 01:36:14
 *
 * @author yinchao
 * @version 1.0
 **/
@RequiredArgsConstructor
@Service
public class ApplicationPropertiesSystemSettingService implements ISystemSettingService {

    private final ApplicationProperties applicationProperties;

    @Override
    public SystemSetting getSystemSetting() {
        return applicationProperties.getSetting().getSystem();
    }

}
